import java.util.Scanner;

/**
 * 双分支if结构
 */
public class IfDemo02 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("输入考生成绩：");
        double score = sc.nextDouble();
        if (score >= 60) {
            System.out.println("考试通过");
        }else {
            System.out.println("成绩不合格");
        }
    }
}
